//*******************************************************************
//  Words.java  Java Foundations
//
//  Demonstretes the use of an inherited method.
//*******************************************************************

public class Words
{
  //---------------------------------------------------------------
  // Instantiates a deriver class and invokes its inherited and
  // local methods.
  //---------------------------------------------------------------
  public static void main (String[] args)
  {
      Dictionary webster = new Dictionary();

      System.out.println ("Number of pages: " + webster.getPages());

      System.out.println ("Number of definitions: " +
                           webster.getDefinitions());
    
      System.out.println ("definitions per page: " +
                           webster.computeRatio());
     }
}
